{% extends "opda/base.html" %}
{% block mid %}
    <div class="col-lg-6">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">放在{{ box.id }}盒子中的包</h3>
            </div>
            <div class="panel-body">
                <div class="list-group">
                    {% for u_p in used_package %}
                        <a href="/outpackage/{{ box.id }}/{{ u_p.id }}" class="list-group-item">{{ u_p.id }}|{{ u_p.name }}</a>
                    {% endfor %}
                </div>
            </div>
        </div>
    </div>
    <div class="col-lg-6">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">我上传的包</h3>
            </div>
            <div class="panel-body">
                <div class="list-group">
                    {% for n_p in no_used_package %}
                        <a href="/addpackage/{{ box.id }}/{{ n_p.id }}" class="list-group-item">{{ n_p.id }}|{{ n_p.name }}</a>
                    {% endfor %}
                </div>
            </div>
        </div>
    </div>

{% endblock %}